using System.Net.Http;
using System.Security.Cryptography.Xml;
using Yarp.ReverseProxy.Configuration;
using Yarp.ReverseProxy.Transforms;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddHttpForwarder();

var app = builder.Build();

app.MapForwarder("/{**catch-all}", "http://localhost:5030/");

await app.RunAsync();
